Skip to content

ESP32 improve display speed for SH1106 #382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

FREEWING-JP
Copy link
Contributor

@FREEWING-JP FREEWING-JP commented Mar 23, 2023

Same as #380
This PR is SH1106 .

Tested with I2C SH1106 OLED 128x64
ESP32-S3 (revision v0.1)
ESP32-C3 (revision v0.3)

SH1106 needs to specify the coordinates when the Y coordinate changes .
So I made ESP32's maximum transmission length 1/2 of 128 dots , which is 64 bytes .

P.S. It will be also works fine ESP8266 . But I not yet tested .
https://github.com/esp8266/Arduino/blob/01d1c8e46f96d37d3597e6ce296cca37567a7030/libraries/Wire/Wire.h#L33

This is ESP32's define .
https://github.com/espressif/arduino-esp32/blob/0d84018d969309addacbcc3e3782c1fadc95fbc8/libraries/Wire/src/Wire.h#L43

@marcelstoer marcelstoer merged commit c182b8e into ThingPulse:master Apr 30, 2023
@FREEWING-JP FREEWING-JP deleted the esp32_improve_display_speed_sh1106 branch May 1, 2023 02:57
@FREEWING-JP
Copy link
Contributor Author

Thank You !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants